export const replyObject = {
    qid: null,
    currNo: null,
    state: "正常",
    title: "",
    questionBody: "",
    replyBody: "",
    userID: "",
    replyJson: [],
    createdTime: "",
    isTop: "",
    taskID: ""
};
// { qid, currNo, state, title, questionBody, userID, replyJson }
export function createReplyData(data) {
    // JSON.parse(JSON.stringify(replyObject))
    const obj = {}
    Object.keys(data).forEach((key,i) => {
        obj[key] = data[key]
    })
    return obj
}

export default {
    replyObject,
    createReplyData
}